
package com.daoeping.dao;

import java.util.List;

import com.daoeping.domain.Bsc_grade;



public class GradeDao extends AllDaoSupport {
	
	public List<Bsc_grade> SelectBsc_gradeById(int id){
		String hql ="from Bsc_grade g where g.id="+id;
		return (List<Bsc_grade>) this.selectDataByHQL(hql);
	}
	public List<Bsc_grade> selectBsc_grades(){
		String hql ="from Bsc_grade";
		return (List<Bsc_grade>) this.selectDataByHQL(hql);
	}
}



